<script setup lang="ts">
  const props = defineProps({
    title: {
      type: String,
      default: '',
    },
    description: {
      type: String,
      default: '',
    },
  });
</script>

<template>
  <div class="container">
    <div class="info">
      <div class="title">{{ props.title }}</div>
      <div class="descriptions">{{ props.description }}</div>
    </div>
    <div class="actions">
      <slot></slot>
    </div>
  </div>
</template>

<style scoped lang="less">
  .container {
    display: flex;
    box-sizing: border-box;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid rgb(187 187 187);

    .info {
      .title {
        font-weight: bold;
      }
    }
  }
</style>
